﻿namespace YKXiangQi.Models
{
    public class TimerSettings
    {
        public long RedTotalTime { get; set; }
        public long BlackTotalTime { get; set; }
        public bool IsIncreaseTime { get; set; }
        public int IncreasedTimeAmount { get; set; }
        public bool IsRedFirst { get; set; }

        public static TimerSettings DefaultSettings
        {
            get
            {
                return new TimerSettings()
                           {
                               RedTotalTime = 30*60,
                               BlackTotalTime = 30*60,
                               IsIncreaseTime = true,
                               IncreasedTimeAmount = 5,
                               IsRedFirst = true
                           };
            }
        }
    }
}
